package com.leo.tool.convert.mapper;

import com.leo.tool.convert.dto.Order;
import com.leo.tool.convert.dto.OrderDto;
import org.mapstruct.InheritInverseConfiguration;
import org.mapstruct.Mapper;

@Mapper
public interface OrderItemMapper {

    Order convert(OrderDto orderDto);

    @InheritInverseConfiguration
    OrderDto convert(Order order);
}
